<layout name='Layout/layout_page' />
	<ol class="breadcrumb">
		<li><a href="<{:U('Site/info')}>">站点设置</a></li>
      	<li class="active">基本信息</li>
    </ol>

    <ul class="nav nav-pills">
		<li class="active"><a href="javascript:void(0)">基本信息</a></li>
		<li><a href="<{:U('Site/yongjin')}>">佣金设置</a></li>
		<li><a href="<{:U('Site/upfile')}>">上传设置</a></li>
	</ul>
	
	<p></p>

	<form id="ajaxForm" action="<{:U('Site/insert')}>" method="post" class="form-horizontal form-validata">
		<div class="form-group">
			<label class="col-md-1 control-label">网站名称</label>
			<div class="col-md-5">
				<input type="text"
				class="form-control"
				id="site_name"
				name="site_name"
				data-rule-required="true"
				value="<{:C('site_name')}>"
				>
			</div>
		</div>

		<div class="form-group">
			<label class="col-md-1 control-label">网站标题</label>
			<div class="col-md-5">
				<input type="text"
				class="form-control"
				name="site_title"
				id="site_title"
				data-rule-required="true"
				value="<{:C('site_title')}>"
				/>
				<p>浏览器中网站的标题信息</p>
			</div>
		</div>
		<div class="form-group">
			<label class="col-md-1 control-label" for="site_url">网址</label>
			<div class="col-md-5">
				<input type="text"
				class="form-control"
				name="site_url"
				id="site_url"
				data-rule-required="true"
				data-rule-url="true"
				value="<{:C('site_url')}>"
				/>
				<p>必须要加上http://</p>
			</div>
		</div>
		<div class="form-group">
			<label class="col-md-1 control-label" for="icp">网站备案号</label>
			<div class="col-md-5">
				<input type="text"
				class="form-control"
				name="icp"
				id="icp"
				value="<{:C('icp')}>"
				/>
			</div>
		</div>
		<div class="form-group">
			<label class="col-md-1 control-label" for="site_tel">电话</label>
			<div class="col-md-5">
				<input type="text"
				class="form-control"
				name="site_tel"
				id="site_tel"
				value="<{:C('site_tel')}>"
				/>
			</div>
		</div>
		<div class="form-group">
			<label class="col-md-1 control-label" for="site_email">站长Email</label>
			<div class="col-md-5">
				<input type="text"
				class="form-control"
				name="site_email"
				id="site_email"
				data-rule-email="true"
				value="<{:C('site_email')}>"
				/>
				<p>比如：7016867@qq.com</p>
			</div>
		</div>
		<div class="form-group">
			<label class="col-md-1 control-label" for="site_address">地址</label>
			<div class="col-md-5">
				<input type="text"
				class="form-control"
				name="site_address"
				id="site_address"
				class="span5"
				value="<{:C('site_address')}>"
				/>
			</div>
		</div>
		<div class="form-group">
			<label class="col-md-1 control-label" for="site_keyword">网站关键词</label>
			<div class="col-md-5">
				<textarea name="site_keyword" class="form-control areatext" id="site_keyword"><{:C('site_keyword')}></textarea>
				<p>一般不超过100个字，用英文逗号隔开</p>
			</div>
		</div>
		<div class="form-group">
			<label class="col-md-1 control-label" for="site_content">网站描述</label>
			<div class="col-md-5">
				<textarea name="site_content" id="site_content" class="form-control areatext"><{:C('site_content')}></textarea>
				<p>一般不超过200个字</p>
			</div>
		</div>
		<div class="form-group">
			<label class="col-md-1 control-label" for="copyright">底部版权信息</label>
			<div class="col-md-5">
				<textarea name="copyright" id="copyright" class="form-control areatext"><{:C('copyright')}></textarea>
			</div>
		</div>
		<div class="form-group">
			<div class="col-md-5 col-sm-offset-1">
				<button type="submit" class="btn btn-info"><i class="icon-edit icon-white"></i> 保存站点设置</button>
			</div>
		</div>
		<input type="hidden" name="files" value="info.php" />
	</form>

<input type="hidden" id="menu_action" value="sys" />
